package com.dcbeida.activity.login;


import com.dcbeida.base.BasePresenter;
import com.dcbeida.base.BaseView;

/**
 * Created by hp on 2016/5/12.
 */
public interface LoginContract {

    interface View extends BaseView<Present> {

        void loginError(String msg, int type);

        void loginSuccess();

        void sendCodeStatus(int status);

        String getAccount();

        String getPassword();

        void showTip(String msg);

        void dissP();
        void showP();

        void showError(String message);
    }

    interface Present extends BasePresenter {
        public static int ACCOUNTNOERROR = 1;

        public static int ACCOUNTPSERROR = 2;

        void sendSmsCode();

        void login(int type);
    }
}
